﻿using System;
using System.ComponentModel;
using System.ComponentModel.Design;
using System.Collections;
using System.Linq;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Design;
using System.Workflow.ComponentModel.Compiler;
using System.Workflow.ComponentModel.Serialization;
using System.Workflow.Runtime;
using System.Workflow.Activities;
using System.Workflow.Activities.Rules;

namespace ILX.TaskProcess
{
    public partial class PostTaskActivity : SequenceActivity
    {
        public PostTaskActivity()
        {
            InitializeComponent();
        }
        public static DependencyProperty TaskOutcomeStatusProperty = DependencyProperty.Register("TaskOutcomeStatus", typeof(System.String), typeof(PostTaskActivity));

        [Description("To")]
        [Category("To Category")]
        [Browsable(true)]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
        public String TaskOutcomeStatus
        {
            get
            {
                return ((string)(base.GetValue(TaskOutcomeStatusProperty)));
            }
            set
            {
                base.SetValue(TaskOutcomeStatusProperty, value);
            }
        }
        private void codeActivity1_ExecuteCode(object sender, EventArgs e)
        {
            SPUtility.LogHandler.LogError(SPUtility.LogType.TimerJob, "Test_2sep2011,,,,,****** =>" + TaskOutcomeStatus);
        }
    }
}
